<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import="java.util.*" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<%
	ArrayList<String> p = (ArrayList<String>) request.getAttribute("ProjectDetail");
%>
<h1>Project Name :</h1><br /><br />
<%=p.get(1) %><br /><br />
<h1>Project Description :</h1><br /><br />
<%=p.get(2) %><br /><br />
<h1>Project Category :</h1><br /><br />
<%=p.get(3) %><br /><br />

---------------------------------Comments-----------------------------------
<br /><br />
<%
	for(int i = 4 ; i < p.size() ; i++){
		out.print(p.get(i));
		out.print("<br />");
	}
%>
Comment :
<form action="MyPortlet?projectaction=comment&pid=<%=p.get(0) %>" method="post">
	<textarea name="comment" ></textarea>
	<input type="submit" value="Post Comment" />
</form>

</body>
</html>